import OrderIndex from '@/components/order/index.vue'
import OrderInfo from '@/components/order/info.vue'


//路由列表
const list = [
    {
        path: 'index',
        name: 'OrderIndex',
        component: OrderIndex,
        meta: { IsLogin: true }
    },
    {
        path: 'info',
        name: 'OrderInfo',
        component: OrderInfo,
        meta: { IsLogin: true }
    },
]

//父路由结构
const layout = {
    template: `<router-view></router-view>`
}

export default [{
    path: '/order',
    name: 'order',
    children: list,
    component: layout,
}]